package cn.antblog.exception;

import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author yangjy
 * @version 1.0
 * @description: 厕所空指针
 * @date 2022/4/12 16:48
 */
@Slf4j
public class Test1 {


    public static void main(String[] args) {
        try {
            log.info("获取到的结果是");
            List resultList = getResultListTest();
            if (resultList.size() > 0) {
                System.out.println("获取到的结果是：" + resultList);

            }
        } catch (Exception e) {
            log.error("ERROR:{}", e.getMessage());
            log.error("ERROR:{}", e.getCause().getMessage());

        }
    }


    public static List getResultListTest() {
        return null;
    }
}
